//
//  YPRequestBaseBin.h
//  ChengHuiTong
//
//  Created by KiVen on 15/11/5.
//  Copyright © 2015年 张文权. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YPRequestBaseBin : NSObject

-(NSDictionary *)dictionaryValue;

@end
//注册
@interface YPRegistBin : YPRequestBaseBin
@property (nonatomic,copy) NSString * username;
@property (nonatomic,copy) NSString * password;
@property (nonatomic,copy) NSString * phone;
@property (nonatomic,copy) NSString * code;
@property (nonatomic,copy) NSString * smsid;
@property (nonatomic,copy) NSString * app_type;
@property (nonatomic,copy) NSString * encrypt;


@end

//登录
@interface YPLoginBin : YPRequestBaseBin
@property (nonatomic,copy) NSString * username;
@property (nonatomic,copy) NSString * password;
@property (nonatomic,copy) NSString * app_type;
@property (nonatomic,copy) NSString * encrypt;


@end

//获取验证码
@interface YPGetCodeBin : YPRequestBaseBin
@property (nonatomic,copy) NSString * phone;
@end

//重置密码

@interface YPAgainResetPasswordBin : YPRequestBaseBin
@property (nonatomic,copy) NSString * phone;
@property (nonatomic,copy) NSString * code;
@property (nonatomic,copy) NSString * smsid;
@property (nonatomic,copy) NSString * password;
@property (nonatomic,copy) NSString * encrypt;
@end

@interface YPSetPasswordBin : YPRequestBaseBin
@property (nonatomic,copy) NSString * phone;
@property (nonatomic,copy) NSString * code;
@property (nonatomic,copy) NSString * smsid;
@property (nonatomic,copy) NSString * password;
@property (nonatomic,copy) NSString * encrypt;
@property (nonatomic,copy) NSString * npassword;

@end
//投资列表
@interface YPInvestmentBin : YPRequestBaseBin
@property (nonatomic,copy) NSString * token;
@property (nonatomic,assign) int option;
@property (nonatomic,assign) int type;
@property (nonatomic,assign) int order;
@property (nonatomic,assign) int page;
@end

//投资详情
@interface YPInvestmentDetailsBin : YPRequestBaseBin
@property (nonatomic,copy) NSString *token;
@property (nonatomic,copy) NSString *bid;
@end

//投标
@interface YPTenderBin : YPRequestBaseBin
@property (nonatomic,copy) NSString *token;
@property (nonatomic,copy) NSString *bid;
@end
//确定投标（处理投标）
@interface YPMakeSureTenderBin : YPRequestBaseBin
@property (nonatomic,copy) NSString *token;
@property (nonatomic,copy) NSString *bid;
@property (nonatomic,copy) NSString *money;
@property (nonatomic,copy) NSString *tpassword;
@property (nonatomic,copy) NSString *redid; //红包id
@property (nonatomic,copy) NSString *couponid; //加息劵id
@property (nonatomic,copy) NSString * encrypt;
@property (nonatomic,copy) NSString *pwd; //定向密码

//@property (nonatomic,copy) NSString *type;

@end
//通知管理
@interface YPNotificationManagerBin : YPRequestBaseBin
@property (nonatomic,copy) NSString *token;
@property (nonatomic,copy) NSString * status;
@property (nonatomic,copy) NSString * type;


@end

//给我们提意见
@interface YPFeedbackBin : YPRequestBaseBin
@property (nonatomic,copy) NSString *token;
@end

//上传头像
@interface YPUploadPictureBin : YPRequestBaseBin
@property (nonatomic,copy) NSString *token;
@end

//站内信
@interface YPStationMessageBin : YPRequestBaseBin
@property (nonatomic,copy) NSString *token;
@property (nonatomic,copy) NSString *mid;
@property (nonatomic,assign) int page;
@end

//登录成功发送设备类型

@interface YPDeviceBin : YPRequestBaseBin
@property (nonatomic,copy) NSString *token;
@property (nonatomic,copy) NSString *device_token;
@end

//退出登录

@interface YPLoginOutBin : YPRequestBaseBin
@property (nonatomic,copy) NSString *token;
@end

//已读未读

@interface YPStationMessageIsReeadBin : YPRequestBaseBin
@property (nonatomic,copy) NSString *token;
@property (nonatomic,copy) NSString *mid;

@end
//动态获取URL
@interface YPGetURLBin : YPRequestBaseBin

@property (nonatomic,copy) NSString *version;
@property (nonatomic,copy) NSString *os_type;

@end


@interface YPNoticeBin : YPRequestBaseBin
@property (nonatomic,copy) NSString *cacheid;
@end



@interface YPgesturePassword : YPRequestBaseBin

@property (nonatomic,copy) NSString *token;

@property(nonatomic,copy)NSString*g_status;

@property (nonatomic,copy) NSString *g_password;

@end



@interface YPEmailCertificateBin : YPRequestBaseBin

@property (nonatomic,copy) NSString *token;
@property (nonatomic,copy) NSString *email;

@end

@interface checkVipStatus : YPRequestBaseBin
@property (nonatomic,copy) NSString *token;
@end

@interface YPVipVerify : YPRequestBaseBin
@property (nonatomic,copy) NSString *token;
@property (nonatomic,assign) NSInteger customer;
@end
@interface YPredBagBin : YPRequestBaseBin
@property(nonatomic,copy)NSString*token;

@end

@interface YPautoListBin : YPRequestBaseBin
@property(nonatomic,copy)NSString*token;
@property(nonatomic,copy)NSString*trust;

@end

@interface YPautoDetailBin : YPRequestBaseBin
@property(nonatomic,copy)NSString*token;
@property(nonatomic,copy)NSString*autoid;
@end

@interface YPautoaddBin : YPRequestBaseBin
@property(nonatomic,copy)NSString*token;
@property(nonatomic,copy)NSString*borrow_trust;
@property(nonatomic,copy)NSString*min_account;
@property(nonatomic,copy)NSString*tender_account;
@property(nonatomic,copy)NSString*timelimit;
@property(nonatomic,copy)NSString*validity_start;
@property(nonatomic,copy)NSString*validity_end;
@property(nonatomic,copy)NSString*borrow_style;
@property(nonatomic,copy)NSString*enabled;
@property(nonatomic,copy)NSString*borrow_type;

@end
@interface YPautoEditBin : YPRequestBaseBin
@property(nonatomic,copy)NSString*token;
@property(nonatomic,copy)NSString*borrow_trust;
@property(nonatomic,copy)NSString*min_account;
@property(nonatomic,copy)NSString*tender_account;
@property(nonatomic,copy)NSString*timelimit;
@property(nonatomic,copy)NSString*validity_start;
@property(nonatomic,copy)NSString*validity_end;
@property(nonatomic,copy)NSString*borrow_style;
@property(nonatomic,copy)NSString*enabled;
@property(nonatomic,copy)NSString*borrow_type;
@property(nonatomic,copy)NSString*autoid;
@property(nonatomic,copy)NSString*sort;

-(instancetype)initWithDic:(NSDictionary *)dic;
@end
@interface YPautoDelBin :YPRequestBaseBin
@property(nonatomic,copy)NSString*token;
@property(nonatomic,copy)NSString*autoid;
@end
